package com.example.sunmiv1.entity;

/**
 * Created by Administrator on 2018-10-16.
 */

public class SigninBean {

    /**
     * status : 1
     * msg : 登陸成功
     * userinfo : {"userType":3,"storeid":"1","merchantid":"1","uid":"1","storetag":"姑蘇零售店"}
     */

    private int status;
    private String msg;
    private UserinfoBean userinfo;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public UserinfoBean getUserinfo() {
        return userinfo;
    }

    public void setUserinfo(UserinfoBean userinfo) {
        this.userinfo = userinfo;
    }

    public static class UserinfoBean {
        /**
         * userType : 3
         * storeid : 1
         * merchantid : 1
         * uid : 1
         * storetag : 姑蘇零售店
         */

        private int usertype;
        private String storeid;
        private String merchantid;
        private String uid;
        private String storetag;
        private String operator_id;
        private String supplier_type; // 供貨商類型  1常規 2寄售
        private boolean is_credit;
        private String is_check_show_invenum;
        private String goods_integral_state;
        private String platform_type;

        public String getPlatform_type() {
            return platform_type == null ? "" : platform_type;
        }

        public String getIs_check_show_invenum() {
            return is_check_show_invenum == null ? "" : is_check_show_invenum;
        }

        public void setIs_check_show_invenum(String is_check_show_invenum) {
            this.is_check_show_invenum = is_check_show_invenum;
        }

        public boolean isIs_credit() {
            return is_credit;
        }

        public void setIs_credit(boolean is_credit) {
            this.is_credit = is_credit;
        }

        public int getUsertype() {
            return usertype;
        }

        public void setUsertype(int usertype) {
            this.usertype = usertype;
        }

        public String getStoreid() {
            return storeid;
        }

        public void setStoreid(String storeid) {
            this.storeid = storeid;
        }

        public String getMerchantid() {
            return merchantid;
        }

        public void setMerchantid(String merchantid) {
            this.merchantid = merchantid;
        }

        public String getUid() {
            return uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public String getStoretag() {
            return storetag;
        }

        public void setStoretag(String storetag) {
            this.storetag = storetag;
        }

        public String getOperator_id() {
            return operator_id == null ? "" : operator_id;
        }

        public void setOperator_id(String operator_id) {
            this.operator_id = operator_id;
        }

        public String getSupplier_type() {
            return supplier_type==null?"1":supplier_type;
        }

        public void setSupplier_type(String supplier_type) {
            this.supplier_type = supplier_type;
        }

        public String getGoods_integral_state() {
            return goods_integral_state == null ? "" : goods_integral_state;
        }

        public void setGoods_integral_state(String goods_integral_state) {
            this.goods_integral_state = goods_integral_state;
        }
    }
}
